<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>ShoesShopping管理员后台</title>
		
		<!-- CSS -->
		<link id="easyuiTheme" rel="stylesheet" href="jquery-easyui-1.3.4/themes/bootstrap/easyui.css" type="text/css"></link>
		<link rel="stylesheet" href="jquery-easyui-1.3.4/themes/icon.css" type="text/css"></link>
		
		<!-- JS -->
		<script type="text/javascript" src="jquery-easyui-1.3.4/jquery.min.js" charset="UTF-8"></script>
		<script type="text/javascript" src="jquery-easyui-1.3.4/jquery.easyui.min.js" charset="UTF-8"></script>
		<script type="text/javascript" src="jquery-easyui-1.3.4/locale/easyui-lang-zh_CN.js" charset="UTF-8"></script>

	</head>

	<body><!--



	--><table id="centerDataGrid" class="easyui-datagrid"
					url="orderAdmin/orderAdmin_listItem" 
					toolbar="#tb"
					title="订单项列表" iconCls="icon-save"
					rownumbers="true" pagination="false"
					fitColumns="true" striped="true"
					singleSelect="true" idField="id"
					fit="true" border="false"
					nowrap=true>
		<thead>
			<tr>
				<th field="id" checkbox="true" >Id</th>
				<th field="goodsName" width="20px" >商品名称</th>
				<th field="num" width="20px" >商品数量</th>
				<th field="price" width="20px" >商品单价</th>
			</tr>                          
		</thead>                          
		                          
	</table>
	
	<div id="tb" style="padding:5px;height:auto">
		<div style="margin-bottom:5px">
			<a id="backBtn" href="admin/page/center/orderAdmin/order-list.jsp" class="easyui-linkbutton" iconCls="icon-redo" plain="true">返回</a>
		</div>
	</div>
	
</body>
<script type="text/javascript">
	$(function(){
		var url =  location.href; 
		var parma = url.substring(url.indexOf("=")+1,url.length);
		$('#centerDataGrid').datagrid('load',{
			id: parma
		});
		
		/*$('#backBtn').bind('click', function(){
    	 	location.href = document.referrer;
    	});   */
	});
</script>
</html>
